Page({
  data: {
    name: "李雷"
  },
  handle() {
    this.setData({
      name: "隔壁老王"
    })
  },
  rec(e) {
    console.log(e);
    //通过e.detail就能获得子组件传递过来的参数
  },
  onLoad(options) {

  },
  onReady() {

  },
  onShow() {

  },
  onHide() {

  },
  onUnload() {

  },
  onShareAppMessage() {
    return {
      title: '',
    };
  },
});